﻿@{
    ViewBag.Title = "Customer";
}

<h2>Customer</h2>

    <br /><br />
    <div style="font-family: 'Trebuchet MS'; font-size: 20px"><b>@Html.Raw("Welcome " + ViewBag.name + "!") </b></div>
    <html>
    <br />


    <ul style="font-size:20px">
        <li>
            <form action="/User/EditProfile" method="post">
                <input type="submit" name="Edit profile" value="Edit profile" id="EditProfile" style="padding: 0; background: none;font-size:18px" />
            </form>
            </li>
        <br />
        <li>
            <form action="/WishList/Index" method="post">
                <input type="submit" value="Wish list" id="WishList" style="padding: 0; background: none;font-size:18px" />
            </form>
        </li>


    </ul>

    <br />
    <br />

    <input type="button" value="Log out" onclick="LogOut()" />
    </html> 






<script>
  //Log out
    function LogOut() {
         document.getElementById("LogOutPost").click();
    }
    </script>


<form action="/User/LogOut" method="post">
    <input type="submit" name="submit" id="LogOutPost" hidden="hidden"/>
</form>
   